#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#

from urllib.request import urlopen

def index(url):
    def get():
        return urlopen(url).read()
    return get

bd=index("http://www.baidu.com")
print(bd().decode('utf-8'))

